﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace iLangl.Model
{
	public class BillingInfo : DuplexObject
	{
		private ICompany _company;
		public ICompany Company
		{
			get
			{
				return _company;
			}
			set
			{
				_company = value;

				if(_company.BillingInfo != this)
					_company.BillingInfo = this;
			}
		}

		public String Name { get; set; }
		public String BillingFirstName { get; set; }
		public String BillingLastName { get; set; }
		public String BillingEmail { get; set; }
		public String BillingCountry { get; set; }
		public String BillingStreetAddress { get; set; }
		public String BillingStreetAddress2 { get; set; }
		public String BillingPostalCode { get; set; }
		public String BillingCity { get; set; }
		public String BillingCurrency { get; set; }
	}
}
